import 'package:flutter/material.dart';

class UnknownPage extends StatelessWidget {
  const UnknownPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("未知页面"),
        backgroundColor: Colors.red,
      ),
      body: Center(
        child: TextButton(
            onPressed: () => Navigator.of(context).pop(),
            child: Text(
              "未知页面",
              style: TextStyle(fontSize: 20, color: Colors.red),
            )),
      ),
    );
  }
}
